package com.xjscrm.server.mapper;

import com.xjscrm.common.entity.GroupPullConfigDevice;
import com.xjscrm.common.entity.GroupPullJobDevice;
import com.xjscrm.common.entity.GroupWelcomeDevice;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface GroupWelcomeDeviceMapper {
    int deleteById(@Param("id") Long id);

    int insert(GroupWelcomeDevice record);

    int insertSelective(GroupWelcomeDevice record);

    GroupWelcomeDevice selectById(@Param("id") Long id);

    List<GroupWelcomeDevice> selectByDeviceUniqueId(@Param("deviceUniqueId") Long deviceUniqueId, @Param("merId") Long merId);

    int updateByIdSelective(GroupWelcomeDevice record);

    int updateById(GroupWelcomeDevice record);
}